#include "lib_fixed.h"

int integer(fixed_numerator x)
{
    return (int) x;
}

bool operator != (fixed x, fixed y)
{
    return !(x == y);
}
bool operator != (fixed x, int y)
{
    return !(x == y);
}
bool operator != (int x, fixed y)
{
    return !(x == y);
}
bool operator >= (fixed x, fixed y)
{
    return !(x < y);
}
bool operator >= (fixed x, int y)
{
    return !(x < y);
}
bool operator >= (int x, fixed y)
{
    return !(x < y);
}
bool operator > (fixed x, fixed y)
{
    return y < x;
}
bool operator > (fixed x, int y)
{
    return y < x;
}
bool operator > (int x, fixed y)
{
    return y < x;
}
bool operator <= (fixed x, fixed y)
{
    return !(y < x);
}
bool operator <= (fixed x, int y)
{
    return !(y < x);
}
bool operator <= (int x, fixed y)
{
    return !(y < x);
}

fixed operator + (int x, fixed y)
{
    return y + x;
}
fixed operator * (int x, fixed y)
{
    return y * x;
}

#include "all.inc"
